<?php

  //
  // Memorii Web
  // script/activate_user.php
  //
  // Activate user account.
  //
  
  include('script/db/db.php');
  
  $db_connection = db_connect();
  db_activate_user($db_connection, $_GET['activate']);
  db_disconnect($db_connection);
        	
  $_SESSION['msg'] = 'Your account has been activated. Enjoy using Memorii!';
?>